﻿Jxstar.currentPage = function() {
	var config = {param:{},initpage:function(page, define){},eventcfg:{}};

	var auditData = Jxstar.findComboData('audit');

	var cols = [
	{col:{header:'记录状态', width:87, sortable:true, align:'center',
		editable:false,
		editor:new Ext.form.ComboBox({
			store: new Ext.data.SimpleStore({
				fields:['value','text'],
				data: auditData
			}),
			emptyText: jx.star.select,
			mode: 'local',
			triggerAction: 'all',
			valueField: 'value',
			displayField: 'text',
			editable:false,
			value: auditData[0][0]
		}),
		renderer:function(value){
			for (var i = 0; i < auditData.length; i++) {
				if (auditData[i][0] == value)
					return auditData[i][1];
			}
		}}, field:{name:'sj_start__auditing',type:'string'}},
	{col:{header:'项目编号', width:100, sortable:true}, field:{name:'sj_start__project_code',type:'string'}},
	{col:{header:'项目名称', width:229, sortable:true}, field:{name:'sj_start__project_name',type:'string'}},
	{col:{header:'申请日期', width:100, sortable:true, renderer:function(value) {
			return value ? value.format('Y-m-d') : '';
		}}, field:{name:'sj_start__start_date',type:'date'}},
	{col:{header:'资金来源', width:100, sortable:true, hidden:true}, field:{name:'sj_start__money_resource',type:'string'}},
	{col:{header:'送审单位', width:139, sortable:true}, field:{name:'sj_start__dept_name',type:'string'}},
	{col:{header:'工程项目负责人', width:100, sortable:true}, field:{name:'sj_start__project_user',type:'string'}},
	{col:{header:'建设规模', width:100, sortable:true, hidden:true}, field:{name:'sj_start__createsize',type:'string'}},
	{col:{header:'选取方式', width:100, sortable:true, hidden:true}, field:{name:'sj_start__choose_method',type:'string'}},
	{col:{header:'批准文号内容', width:100, sortable:true, hidden:true}, field:{name:'sj_start__pass_codecontent',type:'string'}},
	{col:{header:'建设工期', width:100, sortable:true, hidden:true}, field:{name:'sj_start__createproject_time',type:'string'}},
	{col:{header:'建设单位', width:100, sortable:true}, field:{name:'sj_start__create_dept',type:'string'}},
	{col:{header:'建设内容', width:100, sortable:true, hidden:true}, field:{name:'sj_start__build_content',type:'string'}},
	{col:{header:'建设用地许可证批准单位', width:100, sortable:true, hidden:true}, field:{name:'sj_start__build_passdept',type:'string'}},
	{col:{header:'批准征地面积', width:100, sortable:true, hidden:true}, field:{name:'sj_start__pass_call_area',type:'string'}},
	{col:{header:'建筑规划许可证批准单位', width:100, sortable:true, hidden:true}, field:{name:'sj_start__buildpassdept',type:'string'}},
	{col:{header:'批准建筑面积', width:100, sortable:true, hidden:true}, field:{name:'sj_start__passbuild_area',type:'string'}},
	{col:{header:'七通一平情况', width:100, sortable:true, hidden:true}, field:{name:'sj_start__qitong_thing',type:'string'}},
	{col:{header:'计划开工时间', width:100, sortable:true, renderer:function(value) {
			return value ? value.format('Y-m-d') : '';
		}}, field:{name:'sj_start__plan_start_date',type:'date'}},
	{col:{header:'计划竣工时间', width:100, sortable:true, renderer:function(value) {
			return value ? value.format('Y-m-d') : '';
		}}, field:{name:'sj_start__plan_end_date',type:'date'}},
	{col:{header:'资金到位情况', width:100, sortable:true}, field:{name:'sj_start__money_send',type:'string'}},
	{col:{header:'工程项目负责人ID', width:100, sortable:true, hidden:true}, field:{name:'sj_start__project_userid',type:'string'}},
	{col:{header:'主键', width:100, sortable:true, hidden:true}, field:{name:'sj_start__sj_start_id',type:'string'}},
	{col:{header:'单位ID', width:100, sortable:true, hidden:true}, field:{name:'sj_start__dept_id',type:'string'}},
	{col:{header:'批准机关、文号、日期', width:100, sortable:true, hidden:true}, field:{name:'sj_start__pass_xmjys',type:'string'}},
	{col:{header:'编制单位名称、资质', width:100, sortable:true, hidden:true}, field:{name:'sj_start__dept_bzdw',type:'string'}},
	{col:{header:'批准机关、文号、日期', width:100, sortable:true, hidden:true}, field:{name:'sj_start__pass_kxxyjbg',type:'string'}},
	{col:{header:'设计单位名称、资质', width:100, sortable:true, hidden:true}, field:{name:'sj_start__dept_sjdw',type:'string'}},
	{col:{header:'批准机关、文号、日期', width:100, sortable:true, hidden:true}, field:{name:'sj_start__pass_cbsjqk',type:'string'}},
	{col:{header:'建设用地许可证批准文号、日期', width:100, sortable:true, hidden:true}, field:{name:'sj_start__pass_jsyd',type:'string'}},
	{col:{header:'建筑规划许可证批准文号、日期', width:100, sortable:true, hidden:true}, field:{name:'sj_start__pass_jzgh',type:'string'}},
	{col:{header:'项目ID', width:100, sortable:true, hidden:true}, field:{name:'sj_start__project_id',type:'string'}},
	{col:{header:'批准总概算(万元)', width:100, sortable:true, hidden:true, renderer:JxUtil.formatNumber(6)}, field:{name:'sj_start__project_money',type:'float'}},
	{col:{header:'合同金额(万元)', width:100, sortable:true, hidden:true, renderer:JxUtil.formatNumber(6)}, field:{name:'sj_start__contract_money',type:'float'}}
	];
	
	config.param = {
		cols: cols,
		sorts: null,
		hasQuery: '1',
		isedit: '0',
		isshow: '1',
		funid: 'sj_start'
	};
	
	
		
	return new Jxstar.GridNode(config);
}